//
//  UserInfoModel.m
//  Learn
//
//  Created by zyl_macbookpro on 2024/3/31.
//  Copyright © 2024 迟建国. All rights reserved.
//

#import "UserInfoModel.h"

@implementation UserInfoModel
- (void)encodeWithCoder:(NSCoder *)aCoder {
    [aCoder encodeObject:_userid forKey:@"id"];
}

- (id)initWithCoder:(NSCoder *)aDecoder {
    if ([self init]) {
        self.userid = [aDecoder decodeObjectForKey:@"id"];
    }
    return self;
}
@end
